<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>创建新的 COM 组件的引用</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.com-load-typelib.html">com_load_typelib</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.com-message-pump.html">com_message_pump</a></div>
 <div class="up"><a href="ref.com.html">COM 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.com-load" class="refentry">
  <div class="refnamediv">
   <h1 class="refname">com_load</h1>
   <p class="verinfo">(PHP 4)</p><p class="refpurpose"><span class="refname">com_load</span> &mdash; <span class="dc-title">
    创建新的 COM 组件的引用
   </span></p>

  </div>
  <div class="refsect1 unknown-returnvaluet" id="refsect1-function.com-load-unknown-returnvaluet">
   <h3 class="title">描述</h3>
    <div class="methodsynopsis dc-description">
     <span class="type">string</span> <span class="methodname"><strong>com_load</strong></span>
      ( <span class="methodparam"><span class="type">string</span> <code class="parameter">$module_name</code></span>
     [, <span class="methodparam"><span class="type">string</span> <code class="parameter">$
      server_name
      </code></span>
     [, <span class="methodparam"><span class="type">int</span> <code class="parameter">$
      codepage
      </code></span>
    ]] )</div>

   <p class="para rdfs-comment">
    <span class="function"><strong>com_load()</strong></span> 创建新的 COM 组件同时返回此组件的引用。失败则返回
    <strong><code>FALSE</code></strong>。<em><code class="parameter">codepage</code></em>
    可用的值为：<strong><code>CP_ACP</code></strong>、<strong><code>CP_MACCP</code></strong>、<strong><code>CP_OEMCP</code></strong>、<strong><code>CP_SYMBOL</code></strong>、<strong><code>CP_THREAD_ACP</code></strong>, <strong><code>CP_UTF7</code></strong>
    和 <strong><code>CP_UTF8</code></strong>。
   </p>
  </div>

 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.com-load-typelib.html">com_load_typelib</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.com-message-pump.html">com_message_pump</a></div>
 <div class="up"><a href="ref.com.html">COM 函数</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
